<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="<?=domain?>static/style/union.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=domain?>static/script/core.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/script/user.js" charset="utf-8"></script>
<title><?=name?>--忘记密码</title>
<meta name="keywords" content="<?=keywords?>" />
<meta name="description" content="<?=description?>" />
<meta name="author" content="www.cnadlm.com" />
<body>
<div class="nav">
	<div class="list">
		<ul>
		  <?php
		  	foreach($menu as $key=>$value){
		  	?>
		  	<li><a href="<?=($value['value'])?>"><?=$value['name']?></a></li>
		  	<?php
		  	}
		  	?>
		</ul>
	</div>
</div>
<div class="main">
	<div class="logo"><a href="<?=domain?>"><img src="<?=domain?>static/image/Logo.png"></a></div>
	<div class="content module" style="height:420px;">
		<div class="bar"><div>忘记密码</div></div>
		<div class="handle">
			<?php
			if($action){
			?>
			<form name="action" method="post" action="<?=domain?>action/forget.php" onsubmit="return ResetPwd();">
			<div class="info">请输入新的密码.</div>
			<div class="form" style="margin-top:42px;">
				<div class="w">新帐号密码：</div>
				<div class="s"><input type="password" name="password" value="" size="25" maxlength="32"/></div>
			</div>
			<div class="form">
				<div class="w">重复新的密码：</div>
				<div class="s"><input type="password" name="password_m" value="" size="25" maxlength="32"/></div>
			</div>
			<div class="form"><input type="hidden" name="member" value="<?=$member?>"><input type="hidden" name="code" value="<?=$code?>"><input type="submit" name="reset" value="提交" class="bg"/></div>
			</form>
			<?php
			}else{
			?>
			<form name="action" method="post" action="<?=domain?>action/forget.php" onsubmit="return forget();">
			<div class="info">请输入您再本站注册的邮箱,身份证.</div>
			<div class="form" style="margin-top:42px;">
				<div class="w">帐户(Email)：</div>
				<div class="s"><input type="text" name="mail" value="" size="25" maxlength="60"/></div>
			</div>
			<div class="form">
				<div class="w">验证码：</div>
				<div class="s c"><input type="text" name="captcha" value="" size="4" maxlength="4"/></div>
				<div class="s t"><img id="captcha" src="<?=domain?>action/captcha.php"></div>
			</div>
			<div class="form"><input type="submit" name="submit" value="提交" class="bg"/></div>
			</form>
			<?php
			}
			?>
		</div>
	</div>
	<div class="footer">
			<?=$foot?>
	</div>
</div>
</body>
</html>